package com.ruoyi.energy.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * energy对象 omp_ny_trans_load
 *
 * @author cjie
 * @date 2021-10-12
 */
@Data
@ApiModel
public class NyTransLoad extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @ApiModelProperty(value = "编号")
    private String id;

    /** 箱变 */
    //@Excel(name = "箱变")
    @ApiModelProperty(value = "箱变id")
    private Long transId;

    @Excel(name = "箱变编码")
    @ApiModelProperty(value = "箱变编码")
    private String transNum;

    @Excel(name = "箱变名称")
    @ApiModelProperty(value = "箱变名称")
    private String transName;

    /** 抄录日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "抄录日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "抄录日期")
    private Date checkTime;

    /** 值 */
    @Excel(name = "值")
    @ApiModelProperty(value = "值")
    private Long value;

    @Excel(name = "安装位置")
    @ApiModelProperty(value = "安装位置")
    private String installPosition;

    /** 抄录日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "抄录日期")
    private Date checkDay;

    private String approvalLoad;

}
